package com.chuangjiangx.member.score.ddd.query.dto;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 商户平台 积分明细
 */
@Data
public class PlatformDetailDTO {

    /**
     * 积分类型
     */
    private Byte type;

    /**
     * 积分类型
     */
    private String typeText;

    /**
     * 交易积分
     */
    private Long score;

    /**
     * 可用积分
     */
    private Long availableScore;



    /**
     * 交易时间
     */
    private Date createTime;



    /**
     * 累计积分
     */
    private BigDecimal totalScore;

    /**
     * 已兑换积分累计
     */
    private BigDecimal totalConsumeScore;

    public PlatformDetailDTO() {
        super();
    }

    public PlatformDetailDTO(Byte type, Long score,
                             Long availableScore, Date createTime,
                             BigDecimal totalScore, BigDecimal totalConsumeScore) {
        this.type = type;
        this.score = score;
        this.availableScore = availableScore;
        this.createTime = createTime;
        this.totalScore = totalScore;
        this.totalConsumeScore = totalConsumeScore;
    }
}
